﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yunzuan.Foundation.Attributes;
using Yunzuan.Foundation.Entities;

namespace CloudDiamonds.Models.DBModels
{
    [Table(TableName = "yz_jobTitle", PrimaryKey = "ID")]
    public class JobTitleByRole : BaseEntity
    {
        private int id;
        private string jobName;
        private string jobRole;
        private string jobTitle;
        private string jobRoleDesc;
        /// <summary>
        /// CartID.
        /// </summary>
        [Column(IsAutoIncrement = true)]
        public int ID
        {
            get
            {
                return id;
            }
            set
            {
                this.ChangeNotify<int>("ID", value, ref id);
            }
        }
        public string JobName
        {
            get
            {
                return jobName;
            }
            set
            {
                this.ChangeNotify<string>("JobName", value, ref jobName);
            }
        }

        public string JobRole
        {
            get
            {
                return jobRole;
            }
            set
            {
                this.ChangeNotify<string>("JobRole", value, ref jobRole);
            }
        }
        public string JobTitle
        {
            get
            {
                return jobTitle;
            }
            set
            {
                this.ChangeNotify<string>("JobTitle", value, ref jobTitle);
            }
        }
        public string JobRoleDesc
        {
            get
            {
                return jobRoleDesc;
            }
            set
            {
                this.ChangeNotify<string>("JobRoleDesc", value, ref jobRoleDesc);
            }
        }
        
    }
}
